package wxy.studentmanage.mapper;





import org.apache.ibatis.annotations.Param;
import wxy.studentmanage.bean.Users;

import java.util.List;

public interface UserMapper {
    //查询全部User,返回list集合
    List<Users> queryAllUser();

    Users login (@Param("wxy_username")String wxy_username,
                 @Param("wxy_password")String wxy_password);

    Users select(Users users);


    int addUser(Users users);

    int deleteUserById(int wxy_id);


    Users queryUserById(int wxy_id);

    int updateUser(Users users);
}
